home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / musicali / splib52d.lha / superplay-lib_DEV / Programmers / Example_SPObjects / SPO / spo.h < prev    next >
C/C++ Source or Header  |  1996-11-15  |  913b  |  38 lines

  1.  
  2.  /* spo.h
  3.     - Include File for SPO Support Routines -
  4.     (c) 1994 by Andreas R. Kleinert
  5.     Last changes : 14.01.1994
  6.  */
  7.  
  8. #ifndef SPO_H
  9. #define SPO_H
  10.  
  11.  
  12.  /* ********** */
  13.  /* SPO Header */
  14.  /* ********** */
  15.  
  16.  /* File ID Definitions */
  17.  
  18. #define SPO_ID          "SPO Sample File V1.0"
  19. #define SPO_ID_LEN      21                        /* len = 21 + 0 Byte */
  20.  
  21. struct SPOHeader
  22. {
  23.  UBYTE spo_ID [SPO_ID_LEN];
  24.  
  25.  UBYTE spo_SampleBits;      /* 8, 12, 16                            */
  26.  UBYTE spo_StereoFlag;      /* Boolean                              */
  27.  
  28.  UBYTE spo_Channels;        /* as in AudioDevice IO-Block           */
  29.  ULONG spo_Frequency;       /* as in AudioDevice IO-Block           */
  30.  ULONG spo_Volume;          /* as in AudioDevice IO-Block           */
  31.  
  32.  ULONG spo_SampleLength;    /* Length of Sample in Bytes            */
  33. };
  34.  
  35. #define SPOHEADER_SIZE (sizeof(struct SPOHeader))
  36.  
  37. #endif /* SPO_H */
  38.